//
//  Login.swift
//  SeeFM_Swift
//
//  Created by CBCT_MBP on 2021/6/25.
//

let kIsLogin = "kIsLoginKey"

import UIKit

class Login: NSObject {

    static func isLogin() -> Bool {
        return UserDefaults.standard.bool(forKey: kIsLogin)
    }
    
    static func setLogin(state: Bool) {
        UserDefaults.standard.setValue(String(format: "%d", state), forKey: kIsLogin)
    }
    
}
